<html>
<head><meta charset="utf-8"><title>Setting warnings · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Setting.20warnings.html">Setting warnings</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="248554841"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Setting%20warnings/near/248554841" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> UebelAndre <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Setting.20warnings.html#248554841">(Aug 06 2021 at 00:42)</a>:</h4>
<p>Newb question: Can I set <code>#[warn(missing_docs)]</code> via a flag to <code>rustc</code>?</p>



<a name="248555266"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Setting%20warnings/near/248555266" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Smittyvb <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Setting.20warnings.html#248555266">(Aug 06 2021 at 00:51)</a>:</h4>
<p><code>rustc -W missing_docs ...</code></p>



<a name="248555618"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Setting%20warnings/near/248555618" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> UebelAndre <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Setting.20warnings.html#248555618">(Aug 06 2021 at 00:58)</a>:</h4>
<p>Thank you!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>